package com.hoshiicloud.market.param.commission;

import com.hoshiicloud.common.query.PageParam;
import com.hoshiicloud.market.entity.commission.Strategies;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author:campchen
 * @Date:Created in 上午 11:38 2019/7/25
 * @PACKAGENAME com.hoshiicloud.user.param.commission
 * @Description
 */
@Data
public class CommissionProfileAddParam extends PageParam {
    @ApiModelProperty(value = "租户id")
    private Long companyid;
    @ApiModelProperty(value = "平台id")
    private Long platformid;
    @ApiModelProperty(value = "店铺id")
    private Long storeid;
    @ApiModelProperty(value = "任务名称", required = true)
    @NotNull(message = "任务名称不能为空")
    protected String name;
    @ApiModelProperty(value = "描述", required = true)
    private String description;
    @ApiModelProperty(value = "是否开启", required = true)
    @NotNull(message = "开启标识不能为空")
    private Integer enabled;
    @ApiModelProperty(value = "策略", required = true)
    @NotNull(message = "策略不能为空")
    private Strategies strategies;
    @ApiModelProperty(value = "创建人", required = true)
    private String createdby;
}
